require(['jquery',
         'global',
         'module/util',
         'bootbox.min',
         'jquery-weui',
         'module/ajax',
         'bootstrap',
         'pixeladmin',
         'requirejs/domready!'],
function($, global, util, bootbox){
	
	$("#logout").click(function() {
		$.confirm({
			title : '确认退出？',
			onOK : function() {
				window.location.href = global.context + '/web/auth/logout';
			}
		})
	});
});
	